Inverse problems in X-ray and gamma-ray astronomical imaging