Optimization of wire-EDM process parameters for Ni–Ti-Hf shape memory alloy through particle swarm optimization and CNN-based SEM-image classification