On the dynamics of a kicked harmonic oscillator