Prime Minister praises Afghan vote; vows to work with new leadership