Kidnapped Afghan official freed: embassy