Ab initio study of the bonding and elastic properties of Ti2CdC