Hamiltonian reduction of the Wess-Zumino-Witten theory from the point of view of bosonization