GEM-based energy resolved X-ray tangential imaging system on KSTAR