Optical and structural properties of Ge–Se bulk glasses and Ag–Ge–Se thin films