Iranian authorities say they expect millions of people to take part in funeral commemorations for Ayatollah Ali Khamenei.