Shape-Dependent Stark Shift and Emission-Line Broadening of Quantum Dots and Rings