Reversible single crystal-to-single crystal double [2+2] cycloaddition induces multifunctional photo-mechano-electrochemical properties in framework materials