Spectroscopic properties and energy transfers in Tm3+ singly- and doubly-doped glasses