Propensity of hydroxide and hydronium ions for the air-water and graphene-water interfaces from ab initio and force field simulations