X-ray emission from the radio hotspots of Cygnus A