Structural and electronic properties of CdSe/ZnS and ZnS/CdSe core/shell nanowires via first principles study