Physicochemical and crystallographic investigations into the salt formation of two heterocyclic drugs