Napoleon's Invasion of Spain and its Impact on Spanish America