Chocolate treats are good for your brain. Sometimes.