Machine learning density prediction and optical properties of calcium boro-zinc glasses