Spectral imaging of the Sagittarius B2 region in multiple 3-mm molecular lines with the Mopra telescope