Chandra study of an overdensity of x-ray sources around two distant (z ∼ 0.5) clusters