Phase transitions and ionic transport in K3InF6