Beijing residents brace for scorching heat as temperatures exceed 40 degrees Celsius