Quality control of solar radiation measurements