Efficient approach for the diversity-oriented synthesis of macro-heterocycles on solid-support