Photon distribution amplitudes in QCD