Psychosocial Functioning of People with Substance Abuse and Bipolar Disorders