French dairy giant Danone has outlined plans to enshrine social and environmental goals in its articles of association.