Physics of the krypton fluoride laser