Value of Information and Optimal Monitoring