Men with the best quality sperm live two to three years longer than those with the lowest quality, according to a study.