The neutron electric dipole moment experiment at the Spallation Neutron Source