H_2 and its relation to CO in the LMC and other magellanic irregular galaxies