Computer-assisted prescription or delivery of diets