The large-acceptance spectrometer TAGX for photoreaction studies at the 1.3-GeV Tokyo electron synchrotron