High-precision spectrometer for studies of ion-induced and spontaneous fission dynamics