Coherent states for the harmonic oscillator with time-dependent mass and frequency