Relative perturbation bounds with applications to empirical covariance operators