Photodissociation of vibrationally excited H2, HD, and D2 by absorption into the continua of the Lyman and Werner systems