Kerry praises Ghani, Abdullah for statesmanship