Impulsivity, cognitive function, and their relationship in heroin-dependent individuals