Molecules in Galaxies at All Redshifts