Medieval Sardinian castles. Transdisciplinary approach for the definition of typologies, masonries and materials