Shanghai and Beijing further relax curbs as COVID-19 infections wane