Generalized analytical dispersion equations for guided Rayleigh-Lamb (RL) waves and shear horizontal (SH) waves in corrugated waveguides