Production of \({\pi ^0}\) and \(\eta \) mesons up to high transverse momentum in pp collisions at 2.76 TeV