A comparative study of CdTe films prepared by different techniques