Time-dependent current-voltage characteristics of Al/p-CdTe/Pt x-ray detectors