Non-invasive diagnosis for gastric diseases