EXOSAT X-ray observations of the eclipsing magnetic cataclysmic variable EX Hya.