Bi-sobolev mappings and elliptic equations in the plane