Duality of Width and Depth of Neural Networks