Far-infrared emission from H II regions