Uber and Lyft told they must switch to electric cars in California