Theory of relaxation and pumping of quantum oscillator non-resonantly coupled with the other oscillator