Origin of contrast in STM images of oxygen on Pd(111) and its dependence on tip structure and tunneling parameters