light waves are bent on passing from one medium to the second medium