Fabrication and magnetic properties of granular alloys