Study of relativistic effects in atoms and molecules by the kinetically balanced LCAO approach: Ground state of hydrogen and of hydrogenic atoms in Slater and Gaussian basis functions