Essays on Commitment and Optimal Public Policies