Influence of retirement on health conditions and quality of life