Density of states in semiconductor nanostructures