Numerical Study on Surface Roughness Measurement Based on Nonlinear Ultrasonics in Through-Transmission and Pulse-Echo Modes