French government admits security flaws in Paris riots