Anthony helps Knicks avenge loss to Bobcats