Carrier-ion exchange interaction in diluted magnetic semiconductors