Dieting women who kept a diligent food diary lost more weight than other women in a cohort. Skipping meals and eating out slowed weight loss. Katherine Harmon reports