A new study found greater productivity in companies with a higher gender balance.