Spain: top general warns of war over Catalan autonomy