Sterile neutrinos with altered dispersion relations as an explanation for neutrino anomalies