Ab initio simulation of molecular processes on oxide surfaces