Bacterial toxins and their application