US supermarket group Harris Teeter has booked a drop in operating profit as higher costs more than offset sales gains in the first half.