An improved determination of the ratio of W and Z masses at the CERN p collider