Photonic crystal laser sources for chemical detection