Koiter analysis of folded structures using a corotational approach