who was the king of portugals son who granted indep to brazil?