Reflection coefficient due to a discontinuity in the nth order derivative of the refractive index