A model of the neutral and ion nitrogen chemistry in the daytime thermosphere of Venus