what's the difference between commonwealth and territory