How our brains help us keep our resolutions.