First measurement of the left-right asymmetry in Z boson production