A theoretical analysis of the molecular events involved in hydrocarbons reactivity on palladium clusters