Large deviations for random hives and the spectrum of the sum of two random matrices