Complexity-Aware Training of Deep Neural Networks for Optimal Structure Discovery