One-flow synthesis of tetrahydrocannabinol and cannabidiol using homo- and heterogeneous Lewis acids