Crystal chemistry of samarskite