Reflection and refraction at a plane surface