Optimization of <= 200 um pitch CZT detectors for future high-resolution X-ray instrumentation in astrophysics