Measuring solar spectral and angle-of-incidence effects on photovoltaic modules and solar irradiance sensors