Prevalence of Helicobacter pylori and its cagA gene in patients with gastric cancer or peptic ulcer at an Iranian medical center