Boundary element methods for solving inverse problems