Measuring the cosmological background of relativistic particles with the Wilkinson Microwave Anisotropy Probe