Enhanced echo detection for thin thickness measurement in multilayer structures by means of the continuous wavelet transform