Food and drinks companies in the US have pledged to promote the importance of a healthy diet in their advertising to under-12s in the US.