Optimization of a dual-energy imaging Kinestatic Charge Detector for chest radiography