Real-time energy optimization of solar-powered UAVs under wind and cloud disturbances