Production of π0 and η mesons up to high transverse momentum in pp collisions at 2.76 TeV