How Artificial Intelligence Can Aid Democracy