Role of Supramolecular Steric Compression During Photoinduced Intramolecular Hydrogen Abstraction Reactions of Ketones and Thioketones