Cocrystals of a 1,2,4-thiadiazole-based potent neuroprotector with gallic acid: solubility, thermodynamic stability relationships and formation pathways.