Regulating the electronic and optical properties of GaN/InN core/shell nanowires: A first-principles study