Direct phasing of nanocrystal diffraction