Iranian President Ahmadinejad greets Nawaz Sharif