Shanghai stocks shoot up nearly 3%; US optimism lifts risk sentiment