Models for an adsorbed layer and their evaluation by comparison of LEED and optical diffraction patterns: The system W(112)O2