Spectrum and decays of hadronic atoms