Optimization of classical nonpolarizable force fields for OH− and H3O+