An inverse method for determining material properties of a multi-layer medium by boundary element method