Large-pT direct photon production and opposite-side photon-hadron correlations in QCD