CP violation induced by penguin diagrams and the neutron electric dipole moment