A multichannel quantum defect approach to dissociative recombination