Measuring the exchange-stiffness constant of nanocrystalline solids by elastic small-angle neutron scattering