Simple analytical expressions for the reflectivity and the penetration depth of a Bragg mirror between arbitrary media