Spectroscopic and magnetic properties of Nd3+ in LiYF4