Effects of droplets in the air on light transmission in target optical detection