Carrier density and lifetime for different dopants in single-crystal and polycrystalline CdTe