Some remarks on the time-dependent harmonic oscillator