Structure, optical and electrical properties of ZnSe thin films