Optimization of tunable guided-mode resonance filter based on refractive index modulation of graphene