Local spin and orbital moment in Nd2Fe14B and Y2Fe17.