Carboxamido and thiocarboxamido complexes of platinum and palladium