Deposition and characterization of ZnxMg1-xS thin films on amorphous substrates