Why would the United States build a fort system to defend its important ports? Why would they be valuable during times of war?