Total internal reflection in anisotropic crystals