Tunable catalytic reactivity of small palladium clusters supported on graphene: a first-principles study