Isoperimetric inequalities in the torsion problem for multiply connected domains