Neutron and electron electric dipole moments in supersymmetric theories