A boundary integral formulation and 2D fundamental solution for piezoelastic media