Characterization of grain boundaries in CdTe polycrystalline films