Mathematical analysis of the propagation of elastic guided waves in heterogeneous media