Theoretical study of structural, electronic, and thermal properties of CdS, CdSe and CdTe compounds