Arsenic loss during palladium reaction with bulk and thin film gallium arsenide