Mechanics of micropolar media