A unified model of entropy and the value of information.