The role of flexibility in generation expansion planning of power systems with a high degree of renewables & vehicle electrification