Impulsivity in bipolar disorder: relationships with neurocognitive dysfunction and substance use history