Yagi-Uda nanoantenna for the near-infrared region