US snacks firm Inventure Foods has booked lower half-year profits but second-quarter sales beat Wall Street estimates, lifting the company's shares.