REMPI spectroscopy of CF3I in the bulk and in a molecular beam