Near-Infrared Colors of Gamma-Ray Burst Afterglows and Cosmic Reionization History