Nuclear Spin Phenomena in III-V and II-VI Semiconductor Quantum Dots