How did the locations of Philadelphia and New York help them to become major colonial trading centers?