What is the significance of soil compaction in civil engineering construction projects? Describe the key factors influencing soil compaction and its impact on the stability and performance of structures. Additionally, discuss the methods used to achieve proper soil compaction on construction sites and their importance in ensuring long-term structural integrity.