Linking renewables and fossil fuels with carbon capture via energy storage for a sustainable energy future