Which war in United States history between the United States and the United Kingdom was the last war in which hispanic naval officers could reach a rank no higher than Commodore?