Theory of quantum spin Hall effect detection by measurements of the polarization resistance