Anomalous magnetohydrodynamics with temperature-dependent electric conductivity and application to the global polarization