Structural and spectroscopic study of oxyfluoride glasses and glass-ceramics using europium ion as a structural probe