Long-range angular correlations of π, K and p in p–Pb collisions at sqrt(s_NN) = 5.02 TeV