Italian food group Barilla recorded an increase in first-half revenues, despite sales falling in its domestic market.