Photoelasticity of sodium silicate glass from first principles