Agency hopes tens of thousands of people will log details of their flatulence on an app to help researchers better understand gut health