Detecting defects in diaphragm walls prior to excavation