Optimization of neutronless targets of laser-driven fusion