Seismic risk of cultural heritage buildings: from experimental test to seismic assessment. The Castle of Manfredonia