General contraction of Gaussian basis sets. I. Atomic natural orbitals for first- and second-row atoms | Synapse