the bending of a light wave as it moves from one material to another