Hyundai takes on Tesla with sedan version of its cult electric vehicle