Inzamam praises Afghanistan after narrow loss