Seyed Kamal Kharazi ( born 1 December 1944 ) is an Iranian politician and diplomat who was the Minister of Foreign Affairs from 20 August 1997 to 24 August 2005 as appointed by President Mohammad Khatami serving for eight years .