Text this: O-DAT: A novel framework integrating optimized dual attention for medical image segmentation