Quantum sine-Gordon equation as the massive Thirring model