Nonlinear dust–ion acoustic waves in a dusty plasma with non-extensive electrons and ions