Optical pumping and vibrational cooling of molecules