Poor diet is the leading risk factor for deaths from lifestyle-related diseases in the majority of the world, according to new research.