How does the expansion of the universe affect light?