Convolutional neural networks for atomistic systems