A measurement of two-jet decays of theW andZ bosons at the CERN $$\bar p$$ p collider