Composition modulation in one-dimensional and two-dimensional chalcogenide semiconductor nanostructures.