Determination of protonation macro- and microconstants and octanol/water partition coefficient of the antiinflammatory drug niflumic acid.