Adelic model of harmonic oscillator