Palladium- and cobalt-mediated cyclisations of halo-polyenes: a comparative study