Mayors of London, Los Angeles, Paris and other major cities are pledging to ban gasoline and diesel vehicles from "large parts" of their cities by 2030.