Λ c+ production in Pb–Pb collisions at s NN =5.02 TeV