Role of energy storage systems in energy transition from fossil fuels to renewables