ROSAT observations of X-ray sources in globular clusters