Energy levels, luminescence and electronic structure of ZnS: Tm3+