Invariants of Quadratic Differential Forms