Error and stability analysis of boundary methods for elliptic problems with interfaces