Electrode-Coated Inorganic Separators for High Performance and Safe Lithium-Ion and Lithium-Metal Batteries