Which of the following investigations is the gold standard for the diagnosis of Helicobacter pylori (H. pylori) infection?