Learning Decentralized Controllers for Robot Swarms with Graph Neural Networks