Exciton localisation at impurity pairs in zinc telluride and indium phosphide