Analysis of critically refracted longitudinal and Lamb waves for stress characterization