Rising seas, hurricanes, melting ice caps and conflict in drought-stricken areas are all going to tax the US military.