Impact of dimensionality and confinement on the electronic properties of mercury chalcogenide nanocrystals.