France wants to ditch gas- and diesel-powered cars by 2040