What was the name of the republic overthrown by the military dictator who ruled over Spain from 1939-1975?