What happened when Spain’s government could not overcome social and economic problems during the Great Depression?