Left invariant semi Riemannian metrics on quadratic Lie groups