The antiferromagnetic and ferrimagnetic properties of iron selenides with NiAs-type structure