Developers will be required to install solar panels and heat pumps in all new homes in England as part of updated planning requirements published by the government.