Photoluminescence effects associated with thermally induced crystalline structure changes in CdS films