STAR FORMATION RATES FROM [C ii] 158 μm AND MID-INFRARED EMISSION LINES FOR STARBURSTS AND ACTIVE GALACTIC NUCLEI