Machine learning-enabled real-time detection of cloud and aerosol layers using airborne lidar