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