Parameter optimisation for automatic pipeline girth welding using a new friction welding method