\(\pi ^{0}\) and \(\eta \) meson production in proton-proton collisions at \(\sqrt{s}=8\) TeV