A biomimetic synthesis of Δ1-tetrahydrocannabinol