[API] separate structs for boundaries in spectra and chromatograms