Electronic structure and magnetic properties of the cubic Laves phase compounds AFe2 (A=Zr, Lu and Hf)