Afghan president says ready for dialogue with Pakistan