Long-range angular correlations on the near and away side in p–Pb collisions at √S(NN)=5.02 TeV