Solvent‐Dependent Synthesis from Layer to Microporous Pillared‐Layer Framework for Selective Sorption of Gas Light Hydrocarbons