A modified chalcogenide flux method for confining metal halide nanocrystals into transparent glassy matrix