Recovery of the elastic parameters of a layered half-space