Magnetism and structural phase transitions in LiTmF4 powders