Monitoring in friction stir welding