Diagnosing the interstellar medium of galaxies with far-infrared emission lines: I. The [C II] 158 μm line at z ∼ 0