Intermolecular energy transfer in two-channel unimolecular reactions: the pyrolysis of 1-iodopropane