Graviton amplitudes from collinear limits of gauge amplitudes