Optical modulators using semiconductor nano-structures