Elastic interaction between adatoms near a distortive phase transition