Lymphocyte effector mechanisms in innate and adaptive immunity