Brazilian meat giant JBS has reported a fall in profits for the second quarter of the year despite an increase in sales.