Structural and optoelectronic properties of unsaturated ZnO and ZnS nanoclusters