The sale of new petrol and diesel cars will be banned from 2030, but an exemption for certain hybrid cars is under consideration