Characterization of etching procedure in preparation of CdTe solar cells