Stresses, displacements and energy calculations for interfacial dislocations in anisotropic two-phase media