The Small Magellanic Cloud: Dust Extinction And Three-Dimensional Structure From Hubble Space Telescope Observations