Opacity of the Martian atmosphere measured by the Imager for Mars Pathfinder