Metabolic characterization of tomato fruit during preharvest development, ripening, and postharvest shelf-life