3d magnetic moment and anisotropy in Y-Co and Fe-Si amorphous alloys