Boundary element discretization of plane elastic and plate bending problems