Psychosocial variables associated with mental adjustment to cancer