Biosynthesis of cannabinoids