The mechanism of interaction of dislocations with point defects in ionic crystals