Graphene-based absorber exploiting guided mode resonances in one-dimensional gratings