Decay and regularity for harmonic oscillator-type equations