Magnetic properties and phase transitions in some transition metal compounds