Mixed formulation in Koiter analysis of thin-walled beams