MoS2/graphene cathodes for reversibly storing Mg(2+) and Mg(2+)/Li(+) in rechargeable magnesium-anode batteries.