Synthesis of pharmacologically active nitrogen analogs of the tetrahydrocannabinols.