Foundations of Information Theory Entropy, conditional entropy and mutual information, from first principles