Sun photometer with light-emitting diodes as spectrally selective detectors.