Measurement of the energy spectrum of cosmic rays above 10(18) eV using the Pierre Auger Observatory