Rapid thermal processing for the preparation of CdTe film