Effects of Saturn's magnetospheric dynamics on Titan's ionosphere