When did the Spanish recapture the city of Montevideo