Optimization of platinum–carbon multilayer mirrors for hard X-ray optics