Experimental study of variations of the solar spectrum of relevance to thin film solar cells