Magnesium and calcium ion batteries based on the hexa-peri-hexabenzocoronene nanographene anode materials