Xi urges peace in Ukraine, ceasefire in Gaza during Brazil visit