Theoretical investigations of structural, electronic and thermal properties of Ti2AlX(X=C,N)