Depression and Cognitive Impairment in a Spanish Sample of Psychoactive Substance Users Receiving Mental Health Care