NIF: A Framework for Quantifying Neural Information Flow in Deep Networks