Anthraquinone-Based Polymer as Cathode in Rechargeable Magnesium Batteries.