Solar Cycle Effects on the Dynamics of Jupiter’s and Saturn’s Magnetospheres