Design of luminescent detectors for the TJ-II device