Engineering reactions in crystalline solids: predicting photochemical decarbonylation from calculated thermochemical parameters.