Sparsity, modularity, and structural plasticity in deep neural networks