Accountability in an agency model: Project selection, effort incentives, and contract design*