Charge-collection and trapping effects in cryogenic silicon detectors