How blockchain can stop democratic elections from being hacked