Mesozoic and early Cenozoic tectonic convergence-to-rifting transition prior to opening of the South China Sea