X-ray diffraction study of the palladium-carbon system