Stochastic electrodynamics. IV. Transitions in the perturbed harmonic oscillator-zero-point field system