Solvent and metal ion effects in condensation reactions between semicarbazides and pyridine derivatives and study of the complexes with metal chlorides