Iran has laid to rest its late Supreme Leader Ayatollah Ali Khamenei in his hometown of Mashhad, after a multi-day period of national mourning.