Information flow in multilayer perceptrons: an in-depth analysis