Quadratic programming contact formulation for elastic bodies using boundary element method