Perry hammers Santorum over earmarks