Investigation of underground cavities in a two-layer model using the refraction seismic method