Investigation of the ground-state spin inversion in the neutron-rich Cl47,49 isotopes