On the derivation of constitutive relations for Cosserat continuum description of structural elements and materials with microstructure