Until recently, rooftop solar panels were a clean energy technology that only wealthy Americans could afford. But prices have dropped, thanks mostly to falling costs for hardware, as well as price…