Measurement of aerosols at the Pierre Auger Observatory