Text this: Gender differences in the patterns and consequences of changing research directions in scientific careers