Mid-infrared rotational line emission from interstellar molecular hydrogen