Neutral pion production at midrapidity in pp and PbPb collisions at 2.76 TeV