Radiative decays in the Bethe-Salpeter equation with a static kernel and harmonic oscillator potential