Optimizing the spatial resolution of photonic crystal label-free imaging.