Correlations between photons and charged particles in pp collisions at GeV