Companies that build industrial-scale wind and solar hit hardest while those in residential solar rally