The prices investors are paying in the open market for commodities such as coffee, copper or corn can have little to do with the price customers pay at the store. WSJ’s Dion Rabouin explains.