Afghanistan to inaugurate new president as Nato's war ends