On-ground calibration of the X-ray, gamma-ray, and relativistic electron detector onboard TARANIS