Water determination in active pharmaceutical ingredients using ionic liquid headspace gas chromatography and two different detection protocols.