Longitudinal single-bunch instabilities