Predicting Solar Cell Performance from Terahertz and Microwave Spectroscopy