The Popular and intel·lectual struggle in Spain against the Napoleonic invasion