Structural stability and magnetic properties in X2AlX′ (X=Fe, Co, Ni; X′=Ti, Cr) Heusler alloys from quantum mechanical calculations