Magnetic phase transitions and unusual antiferromagnetic states in the Hubbard model