Structure and function of tomato disease resistance proteins