On two-dimensional elastic dislocations in a multilayered half-space