Characterizing the uniformity of polystyrene and TPX z-pinch fusion targets by nuclear microscopy