X-ray sources in regions of star formation. 5: The low mass stars of the Upper Scorpius association