I(CO)/N(H2) conversions and molecular gas abundances in spiral and irregular galaxies