Characterization of transport and charge collection in high resistivity CdTe by photoelectric measurements