Why did african americans abandon their long association with the republican party in favor of the democratic party?