Comparative analysis of the 2 micron emission in Tm3+:BaY2F8 and Tm3+:KYF4: Spectroscopy and laser experiment