Self-nonself discrimination and tolerance in T and B lymphocytes