Recombination at Dislocations in Silicon and Gallium Arsenide