Evolution of the onset of coherence in a family of photonic crystal nanolasers