Text this: Spectroscopic properties of diatomic molecules CdI and CsCd