The quantum harmonic oscillator revisited: A new look from stochastic electrodynamics