Fermion pair production in e+e- collisions at 189–209 GeV and constraints on physics beyond the standard model