Trapping and detrapping effects in high-quality chemical-vapor-deposition diamond films: Pulse shape analysis of diamond particle detectors