Measurement of isolated photon production in pp and PbPb collisions at sqrt(sNN) = 2.76 TeV.