Method of friction welding and apparatus of friction welding