Psychosocial factors as predictors of quality of life in chronic portuguese patients