Evaluation of solar cells by means of spectral analysis