Brazil president in Beijing for 3-day visit