Companies more tolerant of differences in sexuality and gender identity have seen a stock-price boost as well, according to an analysis from Credit Suisse.