Second-Harmonic Generation in Vertically Coupled InAs/GaAs Quantum Dots with a Gaussian Potential Distribution: Combined Effects of Electromagnetic Fields, Pressure, and Temperature