Projective invariants of quadratic embeddings