Weak-Supervision Based on Label Proportions for Earth Observation Applications from Optical and Hyperspectral Imagery