Soft drinks companies have been warned that laws could be introduced next year unless they take voluntary action to tackle the UK's growing obesity crisis.