Dislocation core properties in semiconductors