IceCube detects high-energy extraterrestrial neutrinos