Morphological and typological assessment of architectural heritage in historical Mediterranean ports