Optimal composition of multiple value functions for dopamine-mediated efficient, safe and stable learning | Synapse