Sharing salary information can narrow wage gaps — but studies show more equality can mean less pay