A micromechanical approach for the Cosserat modeling of composites