Brazil elects far-right president, worrying rights groups