BIE and material differentiation applied to the formulation of obstacle inverse problems