Diversity-oriented synthesis of 13- to 18-membered macrolactams via ring-closing metathesis.