Title: Intertemporal contracts and a theory of optimal auditing