New atomic pseudopotentials for electronic structure calculations of molecules and solids