Tin selenide: A promising black-phosphorus-analogue nonlinear optical material and its application as all-optical switcher and all-optical logic gate