New homes and buildings in England will be required by law to install electric vehicle charging points from next year, the prime minister has announced.