Wavelet approach for detecting clouds and their shadows