Cloud detection and classification based on MAX-DOAS observations