Structural-energy calculations based on norm-conserving pseudopotentials and localized Gaussian orbitals