A Cosserat approach to modelling the deformation mechanisms of uncured composites during processing