Measurement of W and Z production properties at the CERN pp collider