California has been given the green light by the U.S. Environmental Protection Agency (EPA) to ban the sale of new gas-powered cars and light trucks by 2035.