During refraction, waves bend when they pass from one medium to another. The waves refract because their ________ changes.