Ancient giant eruptions may have seeded nitrogen needed for life