A contract or duty governed by this chapter imposes an obligation of good faith in its performance or enforcement.