Surge in solar and wind power marks shift to low-carbon energy