Children whose parents are divorced are more likely to get fat than those whose parents stay together, say researchers.