Deconvolution of Hubbles Space Telescope images and spectra