Real-time observation of X-ray-induced intramolecular and interatomic electronic decay in CH2I2