Rotational energy transfers in ion—molecule scattering. II. Anisotropic potentials for CH4H+ and NH3H+