Describe the principles and applications of structural health monitoring (SHM) systems in civil engineering, emphasizing their role in assessing structural integrity, detecting damage, and ensuring safety and longevity of infrastructure.