How did the French take over the Occitan principalities