Phase angle and total internal reflection