Computational Principles of Value Coding in the Brain