Factors associated with borderline personality disorder in major depressive patients and their relationship to bipolarity