Meat-based diets lacking in whole grains, nuts and fruits are the biggest cause of global health-related death, a study has found.