ATP-dependent conformational change in ABC-ATPase RecF serves as a switch in DNA repair