New diesel and petrol cars and vans will be banned from 2040 as part of efforts to tackle air pollution, Environment Secretary Michael Gove has said.