EDM constraints in supersymmetric theories