Identifying student difficulties with entropy, heat engines, and the Carnot cycle