Tautomerism and Rotamerism of Favipiravir and Halogenated Analogues in Solution and in the Solid State.