Nonisospectral integrable nonlinear equations with external potentials and their GBDT solutions