Probing CP violation in neutrino oscillations with neutrino telescopes