THE SEISMIC RESILIENCE OF THE BUILT ENVIRONMENT: THE CASE OF THE MASONRY BUILDINGS