Though the country did not emerge victorious in the conflict, how did the war of 1812 strengthen nationalism in the united states?