Synergy of decay spectroscopy and mass spectrometry for the study of exotic nuclides