Three essays on commodity markets