the struggle for liberty in brazil and portugal