Evidence of rescattering effect in Pb–Pb collisions at the LHC through production of K(892)0⁎ and ϕ(1020) mesons