The UK government has reduced planned subsidies for onshore wind and solar energy, although these will be partly offset by an increase for offshore wind.