who was the king of portugal's son who granted independence to brazil?