The role of solvation and choice of anion in controlling the thermodynamic stability of the cyclooctatetraene and anthracene dianions