A unified configurational optimization framework for battery swapping and charging stations considering electric vehicle uncertainty