What are the two types of contingencies in the contingency theory of leadership?