Tin segregation and donor compensation in melt-grown gallium arsenide