Gaussian basis sets for molecular wavefunctions containing third-row atoms