Neutrino refraction by the cosmic neutrino background