Inclusive γ-production in $$\bar pp$$ interactions at 0.76 and 2.0 GeV/c