Proximity Effect in Crystalline Framework Materials: Stacking‐Induced Functionality in MOFs and COFs