who was the spanish civil war fought between