UK government to cap gas and electricity costs for businesses, charities and public sector from October.