memory t and b cells function in what type of response