Explain the principles of geotechnical site investigation and the methods used to assess soil and rock properties for foundation design.