Dissociative recombination of H+2, HD+, and D+2 by collisions with slow electrons