Boundary element formulation for 2D solids with stiff and soft thin inclusions