A model system for the study of structure and dynamics of molecules on surfaces: CO on NaCl(100)