Neurocognitive impairment in euthymic state of bipolar disorder and recurrent major depressive disorder: clinical and functional implications