Ego integration, family environment and psychosocial stress in relation to outcome of substance abuse treatment