Optimization of titanium cutting by factorial analysis of the pulsed Nd:YAG laser parameters