Enhancing the safety and stability of lithium metal batteries through the use of composite ionogels