Moral Hazard and the Value of Information: A Structural Approach