Output Coupling in Optical Cavities and Lasers