A safe quasi-solid electrolyte based on a nanoporous ceramic membrane for high-energy, lithium metal batteries