Improving the Linearity of Silicon Ring Modulators by Manipulating the Photon Dynamics