Interatomic potentials of A 30+ and B 31 states of HgHe, HgNe, and HgAr van der Waals complexes