Oil companies lose appeal in Bay Area suits seeking damages for climate change; case goes to CA courts