Electronic structures and local magnetic moments in ferromagnetic and antiferromagnetic FexRh1−x alloys