Transformation of a proton insulator to a conductor via reversible amorphous to crystalline structure transformation of MOFs.