Applications of Information Theory in Optics