Relativistic self-consistent-field methods for molecules. III. All-electron calculations on diatomics HI, HI + , AtH, and AtH +