Accurate Hellmann–Feynman forces with optimized atom-centered Gaussian basis sets