Optimization of conditions for spectral determination of chlorine content in cement-based materials