Parts of Shanghai and Beijing go back under lockdown