A physical model for [C II] line emission from galaxies