Guided waves scattering by discontinuities near pipe bends