Dynamic Inconsistency and Convex Commitment