Using digital image processing to characterize the Campbell-Stokes sunshine recorder and to derive high-temporal resolution direct solar irradiance