Scots universities signed up to a COP26 green network of academic institutions committed to tackling climate change have shares worth nearly £5.2 million in fossil fuel firms and arms companies.