Identification of clear skies from broadband pyranometer measurements and calculation of downwelling shortwave cloud effects