California went big on rooftop solar. It created an environmental danger in the process