In physics, which of the following phenomena best explains the bending of light when passing through a prism?