Gauge invariant formulation of 3γ decay of particle-antiparticle bound states