Magnetism, phase transition, and magnetocaloric effects of Co2Nb0.8Ga1.2 and Co2Nb1.2Ga0.8 Heusler alloys