A dual-phase Li–Ca alloy with a patternable and lithiophilic 3D framework for improving lithium anode performance