Huge crowds have turned out for a funeral procession for slain Supreme Leader Ayatollah Ali Khamenei in central Tehran.