The biosynthetic pathway linking cannabinoid acids