UBS has launched a fund that will invest in companies with a strong record in gender diversity and sustainability.