Two-quasiparticle K -isomers and pairing strengths in the neutron-rich isotopes 174 Er and 172 Er