A study of π-nucleon S-wave resonances and the η-nucleon interaction