Nonautonomous bright and dark solitons of Bose–Einstein condensates with Feshbach-managed time-dependent scattering length