Metal-insulator transition upon heating and negative-differential-resistive-switching induced by self-heating in BaCo0.9Ni0.1S1.8