Photon‐Memristive System for Logic Calculation and Nonvolatile Photonic Storage