Organic functionalization of metal oxide surfaces: An atomic scale modeling approach