The decline of Catalan continued in the 16th and 17th centuries. Who was defeated in the War of Spanish Succession