Optical channel defragmentation technology for flexible optical networks