Neutral pion and \(\eta \) meson production in p–Pb collisions at \(\sqrt{s_{\mathrm{NN}}}\)  = 5.02 TeV