Properties of a resonator with a wavefront-reversing mirror