Simulations of a comet impact on the Moon and associated ice deposition in polar cold traps