OBSERVATIONS OF GALACTIC AND EXTRAGALACTIC HIGH-ENERGY X-RAY SOURCES