Diversity indices and analysis of diet-cancer relationship