The effect of provisions of this title mav be varied by agreement, except as otherwise provided in this title and except that the obligations of good faith, diligence, reasonableness, and care prescribed by this title may not be disclaimed by agreement but the parties may by agreement determine the standards by which the performance of such obligations is to be measured if such standards are not m