Slab model studies of water adsorption and decomposition on clean and X- (X = C, N and O) contaminated Pd(111) surfaces.