Measuring geometric parameters of semiconductor structures