Energy levels and crystal-field analysis of Tm3+ in YAl3(BO3)4 crystals