Cesium polytungstate in sputtered solar control films. II. Electronic structure and water-induced defects