Displacement measurements in structural elements by optical techniques