Synthesis of l-ascorbic acid in plants and animals