Development of the boundary element method for 2D piezoelectricity