Rare earth cobalt compounds with the A2B17 structure