Near Hartree-Fock quality Gaussian type orbital basis sets for the first- and third-row atoms