How hangovers reduce brain function