High-performance metal–iodine batteries enabled by a bifunctional dendrite-free Li–Na alloy anode