How the Brain Influences Legal Decisions in Divorce and Custody