3D printing for rechargeable lithium metal batteries