Outer atmospheres of cool stars. V - IUE observations of Capella - The rotation-activity connection