A facile and efficient method for macrolactamization