Relation of lung function and exercise capacity to mood and attitudes to health.