Measurement of Λ (1520) production in pp collisions at √s=7TeV and p–Pb collisions at √sNN=5.02TeV