Electrochemical reduction of polyaromatic compounds