Torsion of a Cosserat elastic bar with square cross section: theory and experiment