Neutron scattering studies of nanomagnetism and artificially structured materials