What nation was allied against the French in both the Battle of Waterloo and the Battle of Redinha?