Cosmological models with viscous fluid and variable deceleration parameter