Measurement of W and Z production cross sections at the CERN p-antip collider