Waveguiding performance of rhodamine 6G doped polymer nanowire