Banning sugar-sweetened beverages in US middle schools in a bid to tackle childhood obesity does not reduce overall consumption levels, a study has found.