A magnetic-assisted construction of functional gradient interlayer for dendrite-free solid-state lithium batteries