How did Constantinople become an important city in the Mediterranean region during the postclassical era?