Detection of X-ray emission from the giant radio lobes of Cen A