The role of underground cavities on ground motion amplification