The open XXZ chain with boundary impurities