Vacuum radiative level shift and spontaneous-emission linewidth of an atom in an optical resonator.