Opioids and cognitive function: relevance to neuropsychiatric illnesses