People who give up smoking improve their health almost immediately, according to a study of more than 100 000 women carried out over 24 years.