Search for a static or oscillating electric dipole moment of the neutron at PSI