Incentives and standards in agency contracts