Every duty under this chapter and every act which must be performed as a condition precedent to the exercise of a right or remedy under this chapter, including the landlord’s termination of a tenancy or nonrenewal of a lease, imposes an obligation of good faith in its performance or enforcement.