Self-consistent analysis of single-electron charging effects in quantum-dot nanostructures