Improvement on the heat dissipation of permanent magnet synchronous motor using heat pipe