Rashba quantum wire: Exact solution and ballistic transport