President Ramaphosa mourns passing of Iranian president