Theoretical studies on square-planar pincer platinum(II) complex and its SO2 adducts: SO2 detector and potential luminescent probe