Scattering of a two-soliton molecule by Gaussian potential barriers and wells