Organoamine Templated Multifunctional Hybrid Metal Phosphonate Frameworks: Promising Candidates for Tailoring Electrochemical Behaviors and Size-Selective Efficient Heterogeneous Lewis Acid Catalysis.