The interaction of nucleons with antinucleons. III. Photon and pion emission from bound states