On the applicability of the cavity perturbation method to high-loss dielectrics