Measurement of the standard model parameters from a study of W and Z bosons