Ferromagnetism and antiferromagnetism in Ni2+x+yMn1−xAl1−y alloys