Swedish top diplomat to step down, leave politics