How were the liberation movements in Spanish South America and Brazil similar?