Huge crowds in Iran capital for president's funeral