Soft drinks producers in France have agreed to reduce sugar content in beverages by 5% in 2015.