Electronic, optical and lattice dynamics properties of layered GaSe1-xSx