A new system of emissions certificates could see diesel cars banned from parts of some German cities.