Magnetic phase transitions in Gd2CuO4.