Ring-closing olefin metathesis for the synthesis of fused nitrogen heterocycles