Energy gap modulation of graphene nanoribbons by F termination