Koszul algebras and quadratic duals in Galois cohomology