Facile synthesis and photo electrochemical performance of SnSe thin films