Research shows that logging what you eat can be one powerful strategy for weight loss.