Genetic and Environmental Impacts on the Biosynthesis of Anthocyanins in Grapes