Sequencing cyclic peptides by multistage mass spectrometry