The UK government has confirmed that it will maintain a ban on the placement of branded alcohol and soft drinks high in sugar in television programmes.