Intermolecular steric effects on unimolecular rearrangements in crystalline media