What quality made the US a major military power after the Revolutionary War