Three-dimensional elastic displacements induced by a dislocation of polygonal shape in anisotropic elastic crystals