Rare earth-cobalt permanent magnets near the 2-17 composition