Homogenization procedure for the 2D Cosserat continuum