Synthesis of heterocycles via sequential Pd/Ru-catalysed allene insertion–nucleophile incorporation–olefin metathesis