The transition of the global financial markets' connectedness during the COVID-19 pandemic