Search for electric dipole moments in storage rings