Dust/ice mixing in cold regions and solid-state water in the diffuse interstellar medium