The X-ray properties of the cometary blue compact dwarf galaxies Mrk 59 and Mrk 71