Distinguishing between Dirac and Majorana neutrinos in neutral-current reactions