Measurement of the cosmic ray energy spectrum using hybrid events of the Pierre Auger Observatory