Using molecule-surface interactions for improved photoelectrochemical device performance and modeling