Coupling 1D and 2D elasticity problems by using the hp-d-version of the finite element method