Ab initio calculations of structural, elastic and thermal properties of TiCr2 and (Ti,Mg)(Mg,Cr)2 Laves phases