Redox Mechanisms in Li and Mg Batteries Containing Poly(phenanthrene quinone)/Graphene Cathodes using Operando ATR‐IR Spectroscopy