France 'to end sales of petrol, diesel vehicles by 2040'