How the brain integrates costs and benefits during decision making