Protecting lithium/sodium metal anode with metal-organic framework based compact and robust shield