Improved background suppression for radiative capture reactions at LUNA with HPGe and BGO detectors