Dietary assessment and optimization tool