EU environment ministers have agreed a common position for car and van CO2 emission cuts for 2030.