Rovibronic interactions in the photoabsorption spectrum of molecular hydrogen and deuterium: An application of multichannel quantum defect methods