Exact solution for square-wave grating covered with graphene : Surface plasmons-polaritons in the THz range