What is the difference between contract and agency relationships in corporate finance?