Mathematical model of the dynamics of micropolar elastic thin beams. Free and forced vibrations