Direct photon production at low transverse momentum in proton-proton collisions at s =2.76 and 8 TeV