Two-dimensional isotropic harmonic oscillator on a time-dependent sphere