Effective Oxygen Reduction and Evolution Catalysts Derived from Metal Organic Frameworks by Optimizing Active Sites