Text this: The influence of cognitive flexibility on research abilities among medical students: cross-section study