Effect of film thickness on microstructure parameters and optical constants of CdTe thin films