Girls who are overweight from primary school age are significantly less likely to have children as adults, according to new research.